package com.yf.cmw.entity;

import java.io.Serializable;

/**
 * 机器配置表
 */
public class MachineCfgEntity implements Serializable {
    // ID
    private Long id;
    //机器配置版本号
    private Integer cfgVersion;
    // App版本号
    private String appVersion;
    //机器串号
    private String mcode;
    //文件路径
    private String adPath = "";
    //心跳间隔(分)
    private Integer minutes;
    //创建时间
    private String createTime;
    //修改时间
    private String modifyTime;
    //修改人
    private String modifier;
    //安全码 (用于打开配置页面的安全认证码)
    private String safeCode;
    //请求的服务器地址
    private String serverUrl;

    private String apiUrl;

    private String downDir;

    public String getApiUrl() {
        return apiUrl;
    }

    public void setApiUrl(String apiUrl) {
        this.apiUrl = apiUrl;
    }

    public String getDownDir() {
        return downDir;
    }

    public void setDownDir(String downDir) {
        this.downDir = downDir;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCfgVersion() {
        return cfgVersion;
    }

    public void setCfgVersion(Integer cfgVersion) {
        this.cfgVersion = cfgVersion;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public String getMcode() {
        return mcode;
    }

    public void setMcode(String mcode) {
        this.mcode = mcode;
    }

    public String getAdPath() {
        return adPath;
    }

    public void setAdPath(String adPath) {
        this.adPath = adPath;
    }

    public Integer getMinutes() {
        return minutes;
    }

    public void setMinutes(Integer minutes) {
        this.minutes = minutes;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getSafeCode() {
        return safeCode;
    }

    public void setSafeCode(String safeCode) {
        this.safeCode = safeCode;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    @Override
    public String toString() {
        return "MachineCfgEntity{" +
                "id=" + id +
                ", appVersion='" + appVersion + '\'' +
                ", mcode='" + mcode + '\'' +
                ", adPath='" + adPath + '\'' +
                ", minutes=" + minutes +
                '}';
    }
}
